package net.begincode.admin.bean;

import com.google.common.base.Preconditions;

import java.io.Serializable;

public class BlogHomeTypeParam implements Serializable,ParamCheck {
    private static final long serialVersionUID = -6029258137137555161L;
    private Long blogId;
    private Long homeTypeId;
    @Override
    public void checkParam() {
        Preconditions.checkNotNull(blogId, "blogId not null");
        Preconditions.checkNotNull(homeTypeId, "homeTypeId not null");
    }

    public Long getBlogId() {
        return blogId;
    }

    public void setBlogId(Long blogId) {
        this.blogId = blogId;
    }

    public Long getHomeTypeId() {
        return homeTypeId;
    }

    public void setHomeTypeId(Long homeTypeId) {
        this.homeTypeId = homeTypeId;
    }
}
